package com.demo.jingxi.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_product")
public class TbProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 0手机 1平板 2电脑
     */
    @TableField("type")
    private Integer type;

    /**
     * 0不可折叠 1可折叠
     */
    @TableField("foldable")
    private Integer foldable;

    @TableField("name")
    private String name;

    @TableField("brand")
    private String brand;

    @TableField("series")
    private String series;

    @TableField("desc")
    private String desc;

    @TableField("img")
    private String img;

    @TableField("stock")
    private Integer stock;

    @TableField("status")
    private Integer status;


}
